@extends('home.base.index')

@section('content')
<div class="content container">

	<div class="blank10"></div>

	<div class="dl_zc">
		<div class="dl_zc_title" style="margin-left:0px;">
			<h2 class="f_l">请您登录</h2><div class="rt_bg f_r"></div>
		</div>
		<header>
            <!-- <h1>SUPER ADMIN</h1> -->
            <h1>
                @if (session('msg'))
                    {{ session('msg') }}
                @else
                	请输入您的账号，和密码
                @endif
            </h1>
        </header>

		<div class="dl-con" id="entry">
			<form id="formlogin" action="{{ url('home/login') }}" method="post">
			 <input type='hidden' name='_token' value='{{ csrf_token() }}'>
			 <div class="form" style="width:600px;">
				<div class="item">
					<span class="label">用户名：</span>
					<div class="fl">
						<input type="text" id="loginname" name="username"  class="text" tabindex="1" placeholder="请输入用户名" />
						<label id="loginname_succeed" class="blank invisible"></label>
						<span class="clear"></span>
						<label id="loginname_error"></label>
					</div>
				</div><!--item end-->
				<div class="item">
					<span class="label">密码：</span>
					<div class="fl">
						<input type="password" id="loginpwd" name="pass" class="text" tabindex="2"/>
						<label id="loginpwd_succeed" class="blank invisible"></label>
						<label><a href="{{ url('home/login/forgotpassword') }}" class="blue">忘记密码?</a></label>
						<span class="clear"></span>
						<label id="loginpwd_error"></label>
					</div>
				</div>

				<div class="item" id="autoentry">
					<span class="label">&nbsp;</span>
					<div class="fl">
						<label class="mar"><input type="checkbox" class="checkbox"  checked="checked" id="chkRememberUsername" name="chkRememberUsername"/>
						记住用户名</label>
					</div>
				</div><!--autoentry end-->
				<div class="item">
					<span class="label">&nbsp;</span>
					<input type="submit" class="yellow_button yellow_button_02"  id="loginsubmit" value="登录" tabindex="8" />
				</div><!--item end-->
			</div><!--form end-->
			<div id="guide">
				<h5>还不是麦路客商城用户？</h5>
				<div class="content">现在免费注册成为麦路客商城用户，便能立刻享受便宜又放心的购物乐趣。</div>
				<a href="{{ url('home/zhuce') }}" class="btn-personal">注册新用户</a>
			</div><!--guide end-->
			<span class="clear"></span>
			</form>
		</div><!--regist end-->
	</div><!--dl_zc end-->

	<div class="blank10"></div>

</div>
@stop
